package org.amos.upms.modules.system.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.amos.core.basic.base.BaseDTO;

/**
 * <p>
 * 行政区划表 DTO
 * </p>
 *
 * @author liubt
 * @since 2022-11-10
 */
@Data
public class RegionDTO extends BaseDTO {

    @Schema(description = "区域编号")
    private String code;

    @Schema(description = "父编号")
    private String parentCode;

    @Schema(description = "级联编号")
    private String cascadeCode;

    @Schema(description = "全称")
    private String name;

    @Schema(description = "省级（省份、直辖市、自治区）编号")
    private String provinceCode;

    @Schema(description = "省级（省份、直辖市、自治区）全称")
    private String provinceName;

    @Schema(description = "地级（城市）编号")
    private String cityCode;

    @Schema(description = "地级（城市）全称")
    private String cityName;

    @Schema(description = "县级（区县）编号")
    private String areaCode;

    @Schema(description = "县级（区县）全称")
    private String areaName;

    @Schema(description = "乡级（乡镇、街道）编号")
    private String streetCode;

    @Schema(description = "乡级（乡镇、街道）全称")
    private String streetName;

    @Schema(description = "村级（村委会、居委会）编号")
    private String villageCode;

    @Schema(description = "村级（村委会、居委会）全称")
    private String villageName;

    @Schema(description = "层级（0国、1省、2市、3县、4镇、5村）")
    private Integer level;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "备注")
    private String remark;

}
